﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RajonTest {
    public partial class TreeView_WebForm : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {

            if (!Page.IsPostBack) {
                RajonTest.OrderService service = new OrderService();
                List<Poco.BusinessUnit> units = service.GetBusinessUnits(null);
                repeater.DataSource = units;
                repeater.DataBind();
            }
        }
    }
}